{% extends "datasources_base.html" %}

{% block content %}

<div class="row">
	<div class="small-12 columns">

<a class="button small" href="{% url 'crawler:index' %}">Websites (back to list of all websites)</a>


	</div>
</div>

<div class="row">
	<div class="small-12 columns">

Title or ID:
<h1>{{ crawler.title|default:crawler.id }}</h1>

	{% if crawler.uri %}
	<p>
	URI: {{ crawler.uri }}
	</p>
	{% endif %}

	{% if crawler.sitemap %}
	<p>
	Sitemap: {{ crawler.sitemap }}
	</p>
	{% endif %}


	{% if crawler.description %}

	{{ crawler.description }}

	{% endif %}

	</div>
</div>


<div class="row">
	<div class="small-12 columns">

<h3>Actions</h3>

<a class="button" href="{% url 'crawler:crawl' crawler.id %}">Index website</a></li>

<a class="button" href="{% url 'crawler:update' crawler.id %}">Edit settings</a>


	</div>
</div>

{% endblock content %}
